package com.scgl.process.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 报工记录对象 scgl_report
 * 
 * @author ruoyi
 * @date 2024-10-31
 */
public class ScglReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工序任务单编号 */
    private Long processId;

    /** 工序名称 */
    @Excel(name = "工序名称")
    private String processName;

    /** 生产批次 */
    @Excel(name = "生产批次")
    private String batch;

    /** 报工数量 */
    @Excel(name = "报工数量")
    private Long reportedQuantity;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String productCode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 规格 */
    @Excel(name = "规格")
    private String specification;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 设备 */
    @Excel(name = "设备")
    private String devicename;

    /** 生产线 */
    @Excel(name = "生产线")
    private Long productId;

    /** 工位 */
    @Excel(name = "工位")
    private String sta;

    /** 班组 */
    @Excel(name = "班组")
    private String team;

    /** 所属工单号 */
    @Excel(name = "所属工单号")
    private String worko;

    /** 所订单号 */
    @Excel(name = "所订单号")
    private Long orderId;

    /** 参数 */
    @Excel(name = "参数")
    private String para;

    /** 操作人 */
    @Excel(name = "操作人")
    private String creator;

    /** 报工时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报工时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    public void setProcessId(Long processId) 
    {
        this.processId = processId;
    }

    public Long getProcessId() 
    {
        return processId;
    }
    public void setProcessName(String processName) 
    {
        this.processName = processName;
    }

    public String getProcessName() 
    {
        return processName;
    }
    public void setBatch(String batch) 
    {
        this.batch = batch;
    }

    public String getBatch() 
    {
        return batch;
    }
    public void setReportedQuantity(Long reportedQuantity) 
    {
        this.reportedQuantity = reportedQuantity;
    }

    public Long getReportedQuantity() 
    {
        return reportedQuantity;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setSpecification(String specification) 
    {
        this.specification = specification;
    }

    public String getSpecification() 
    {
        return specification;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setDevicename(String devicename) 
    {
        this.devicename = devicename;
    }

    public String getDevicename() 
    {
        return devicename;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setSta(String sta) 
    {
        this.sta = sta;
    }

    public String getSta() 
    {
        return sta;
    }
    public void setTeam(String team) 
    {
        this.team = team;
    }

    public String getTeam() 
    {
        return team;
    }
    public void setWorko(String worko) 
    {
        this.worko = worko;
    }

    public String getWorko() 
    {
        return worko;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setPara(String para) 
    {
        this.para = para;
    }

    public String getPara() 
    {
        return para;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("processId", getProcessId())
            .append("processName", getProcessName())
            .append("batch", getBatch())
            .append("reportedQuantity", getReportedQuantity())
            .append("productCode", getProductCode())
            .append("productName", getProductName())
            .append("specification", getSpecification())
            .append("unit", getUnit())
            .append("devicename", getDevicename())
            .append("productId", getProductId())
            .append("sta", getSta())
            .append("team", getTeam())
            .append("worko", getWorko())
            .append("orderId", getOrderId())
            .append("para", getPara())
            .append("creator", getCreator())
            .append("creationTime", getCreationTime())
            .toString();
    }
}
